<div class="aside">
  <!-- 头部图片 -->
  <div class="profile">

  </div>
  <ul class="nav">
    <li>
      <a href="admin.html">
        <i class="iconfont icon-dashboard"></i>
        仪表盘
      </a>
    </li>
    <li>
      <a href="#menu-posts" data-toggle="collapse">
        <i class="iconfont icon-16"></i>
        文章
        <i class="iconfont icon-youjiantou fr"></i>
      </a>
      <ul id="menu-posts" class="collapse ">
        <li>
          <a href="posts.html">所有文章</a>
        </li>
        <li>
          <a href="post-add.html">写文章</a>
        </li>
        <li>
          <a href="categories.html">文章分类</a>
        </li>
      </ul>
    </li>
    <li>
      <a href="comment.html">
        <i class="iconfont icon-pingjia"></i>
        评价
      </a>
    </li>
    <li>
      <a href="user.html">
        <i class="iconfont icon-yonghu"></i>
        用户

      </a>
    </li>
    <li>
      <a href="#menu-setting" data-toggle="collapse">
        <i class="iconfont icon-shezhi"></i>
        设置
        <i class="iconfont icon-youjiantou fr"></i>
      </a>
      <ul id="menu-setting" class="collapse ">
        <li>
          <a href="slide.html">轮播图设置</a>
        </li>
        <li>
          <a href="webSetting.html">网站设置</a>
        </li>

      </ul>
    </li>
  </ul>
</div>

<script type="text/template" id="adminNav">
  <img src="{{result.avatar}}" alt="">
  <h3 class="name">{{result.nickName}}</h3>
</script>